///@date:  2021/5/13 18:10
///@author:  lixu
///@description:加载框样式,15种
///效果预览：https://github.com/ybq/Android-SpinKit
///字段名称不要修改，要与native对齐
enum LoadingStyle {
  RotatingPlane,
  DoubleBounce,
  Wave,
  WanderingCubes,
  Pulse,
  ChasingDots,
  ThreeBounce,
  Circle,
  CubeGrid,
  FadingCircle,
  FoldingCube,
  RotatingCircle,
  MultiplePulse,
  PulseRing,
  MultiplePulseRing,
}

///枚举类型转string
String? enumToString(o) => o?.toString().split('.').last ?? null;
